package vp.remedies.dr.home.allmain.remedy.activity;

import vp.remedies.dr.home.R;
import vp.remedies.dr.home.utils.Constantce;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HighCholesterolActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.high_cholesterol);
		setView(Constantce.LANGUAGE_ENGLISH);
	}

	void setView(String language) {
		TextView headerTxt = (TextView) findViewById(R.id.hearderTxt);
		TextView detail1Txt = (TextView) findViewById(R.id.detail1Txt);
		TextView detail2Txt = (TextView) findViewById(R.id.detail2Txt);
		TextView detail3Txt = (TextView) findViewById(R.id.detail3Txt);
		TextView detail4Txt = (TextView) findViewById(R.id.detail4Txt);
		TextView detail5Txt = (TextView) findViewById(R.id.detail5Txt);
		TextView detail6Txt = (TextView) findViewById(R.id.detail6Txt);
		TextView detail7Txt = (TextView) findViewById(R.id.detail7Txt);
		TextView detail8Txt = (TextView) findViewById(R.id.detail8Txt);
		TextView detail9Txt = (TextView) findViewById(R.id.detail9Txt);
		TextView detail10Txt = (TextView) findViewById(R.id.detail10Txt);
		TextView detail11Txt = (TextView) findViewById(R.id.detail11Txt);
		TextView detail12Txt = (TextView) findViewById(R.id.detail12Txt);
		TextView detail13Txt = (TextView) findViewById(R.id.detail13Txt);
		TextView detail14Txt = (TextView) findViewById(R.id.detail14Txt);
		TextView detail15Txt = (TextView) findViewById(R.id.detail15Txt);
		TextView detail16Txt = (TextView) findViewById(R.id.detail16Txt);
		TextView detail17Txt = (TextView) findViewById(R.id.detail17Txt);
		TextView detail18Txt = (TextView) findViewById(R.id.detail18Txt);

		String headerTxtString = null;
		String high_cholestrol_1 = null;
		String high_cholestrol_2 = null;
		String high_cholestrol_3 = null;
		String high_cholestrol_4 = null;
		String high_cholestrol_5 = null;
		String high_cholestrol_6 = null;
		String high_cholestrol_7 = null;
		String high_cholestrol_8 = null;
		String high_cholestrol_9 = null;
		String high_cholestrol_10 = null;
		String high_cholestrol_11 = null;
		String high_cholestrol_12 = null;
		String high_cholestrol_13 = null;
		String high_cholestrol_14 = null;
		String high_cholestrol_15 = null;
		String high_cholestrol_16 = null;
		String high_cholestrol_17 = null;
		String high_cholestrol_18 = null;

		if (language.equals(Constantce.LANGUAGE_HINDI)) {
			headerTxtString = getResources().getString(
					R.string.high_cholestrol_header_hi);
			high_cholestrol_1 = getResources().getString(
					R.string.high_cholestrol_1_hi);
			high_cholestrol_2 = getResources().getString(
					R.string.high_cholestrol_2_hi);
			high_cholestrol_3 = getResources().getString(
					R.string.high_cholestrol_3_hi);
			high_cholestrol_4 = getResources().getString(
					R.string.high_cholestrol_4_hi);
			high_cholestrol_5 = getResources().getString(
					R.string.high_cholestrol_5_hi);
			high_cholestrol_6 = getResources().getString(
					R.string.high_cholestrol_6_hi);
			high_cholestrol_7 = getResources().getString(
					R.string.high_cholestrol_7_hi);
			high_cholestrol_8 = getResources().getString(
					R.string.high_cholestrol_8_hi);
			high_cholestrol_9 = getResources().getString(
					R.string.high_cholestrol_9_hi);
			high_cholestrol_10 = getResources().getString(
					R.string.high_cholestrol_10_hi);
			high_cholestrol_11 = getResources().getString(
					R.string.high_cholestrol_11_hi);
			high_cholestrol_12 = getResources().getString(
					R.string.high_cholestrol_12_hi);
			high_cholestrol_13 = getResources().getString(
					R.string.high_cholestrol_13_hi);
			high_cholestrol_14 = getResources().getString(
					R.string.high_cholestrol_14_hi);
			high_cholestrol_15 = getResources().getString(
					R.string.high_cholestrol_15_hi);
			high_cholestrol_16 = getResources().getString(
					R.string.high_cholestrol_16_hi);
			high_cholestrol_17 = getResources().getString(
					R.string.high_cholestrol_17_hi);
			high_cholestrol_18 = getResources().getString(
					R.string.high_cholestrol_18_hi);
		} else {
			headerTxtString = getResources().getString(
					R.string.high_cholestrol_header_en);
			high_cholestrol_1 = getResources().getString(
					R.string.high_cholestrol_1_en);
			high_cholestrol_2 = getResources().getString(
					R.string.high_cholestrol_2_en);
			high_cholestrol_3 = getResources().getString(
					R.string.high_cholestrol_3_en);
			high_cholestrol_4 = getResources().getString(
					R.string.high_cholestrol_4_en);
			high_cholestrol_5 = getResources().getString(
					R.string.high_cholestrol_5_en);
			high_cholestrol_6 = getResources().getString(
					R.string.high_cholestrol_6_en);
			high_cholestrol_7 = getResources().getString(
					R.string.high_cholestrol_7_en);
			high_cholestrol_8 = getResources().getString(
					R.string.high_cholestrol_8_en);
			high_cholestrol_9 = getResources().getString(
					R.string.high_cholestrol_9_en);
			high_cholestrol_10 = getResources().getString(
					R.string.high_cholestrol_10_en);
			high_cholestrol_11 = getResources().getString(
					R.string.high_cholestrol_11_en);
			high_cholestrol_12 = getResources().getString(
					R.string.high_cholestrol_12_en);
			high_cholestrol_13 = getResources().getString(
					R.string.high_cholestrol_13_en);
			high_cholestrol_14 = getResources().getString(
					R.string.high_cholestrol_14_en);
			high_cholestrol_15 = getResources().getString(
					R.string.high_cholestrol_15_en);
			high_cholestrol_16 = getResources().getString(
					R.string.high_cholestrol_16_en);
			high_cholestrol_17 = getResources().getString(
					R.string.high_cholestrol_17_en);
			high_cholestrol_18 = getResources().getString(
					R.string.high_cholestrol_18_en);
		}
		headerTxt.setText(headerTxtString);
		detail1Txt.setText(high_cholestrol_1);
		detail2Txt.setText(high_cholestrol_2);
		detail3Txt.setText(high_cholestrol_3);
		detail4Txt.setText(high_cholestrol_4);
		detail5Txt.setText(high_cholestrol_5);
		detail6Txt.setText(high_cholestrol_6);
		detail7Txt.setText(high_cholestrol_7);
		detail8Txt.setText(high_cholestrol_8);
		detail9Txt.setText(high_cholestrol_9);
		detail10Txt.setText(high_cholestrol_10);
		detail11Txt.setText(high_cholestrol_11);
		detail12Txt.setText(high_cholestrol_12);
		detail13Txt.setText(high_cholestrol_13);
		detail14Txt.setText(high_cholestrol_14);
		detail15Txt.setText(high_cholestrol_15);
		detail16Txt.setText(high_cholestrol_16);
		detail17Txt.setText(high_cholestrol_17);
		detail18Txt.setText(high_cholestrol_18);
	}
}